package com.demo.dao;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
@ApiModel
public class Course {

    @ApiModelProperty("课程号")
    private int cid;
    @ApiModelProperty("课程名")
    private String cname;
    @ApiModelProperty("学期")
    private String term;
    @ApiModelProperty("学分")
    private double credit;


}
